#pragma once
#include "simplebuttontool.h"

#define MACRO_SIMPLE_BUTTON_TOOL_HEADER(TOOL_NAME)	\
class TOOL_NAME : public SimpleButtonTool	\
{	\
public:	\
	TOOL_NAME(void * a_context):SimpleButtonTool(a_context){}	\
	static const char * NAME;	\
	const char * getName();	\
	void execute();	\
};

MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionNextFrame)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionPrevFrame)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionAddClip)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionDeleteClip)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionMoveClipUp)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionMoveClipDown)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionAddAnimation)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionAddFrame)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionAddCopyFrame)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionRun)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionDeleteFrame)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionDeleteAnimation)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionFlipClip90)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionFlipClip180)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionFlipClipX)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionFlipClipY)
MACRO_SIMPLE_BUTTON_TOOL_HEADER(SpriteActionFlipClipXY)
